package bp.port.dingtalk.ddsdk;

/**
 * SDK使用的URL
 */
public final class Urls {
    /**
     * 创建会话
     */
    public static final String CHAT_CREATE = "https://oapi.dingtalk.com/chat/create";
    /**
     * 获取会话信息
     */
    public static final String CHAT_GET = "https://oapi.dingtalk.com/chat/get";
    /**
     * 发送会话消息
     */
    public static final String CHAT_SEND = "https://oapi.dingtalk.com/chat/send";
    /**
     * 更新会话信息
     */
    public static final String CHAT_UPDATE = "https://oapi.dingtalk.com/chat/update";

    /**
     * 获取部门列表
     */
    public static final String DEPARTMENT_LIST = "https://oapi.dingtalk.com/department/list";

    /**
     * 获取访问票记
     */
    public static final String GETTOKEN = "https://oapi.dingtalk.com/gettoken";

    /**
     * 发送消息
     */
    public static final String MESSAGE_SEND = "https://oapi.dingtalk.com/message/send";

    /**
     * 用户列表
     */
    public static final String USER_LIST = "https://oapi.dingtalk.com/user/list";
    /**
     * 用户详情
     */
    public static final String USER_GET = "https://oapi.dingtalk.com/user/get";

    /**
     * 获取JSAPI的票据
     */
    public static final String GET_JSAPI_TICKET = "https://oapi.dingtalk.com/get_jsapi_ticket";
    /**
     * 获取多媒体
     */
    public static final String GET_MEDIA = "https://oapi.dingtalk.com/media/get";
}
